home *** CD-ROM | disk | FTP | other *** search
- <!-- TWO STEPS TO INSTALL FAKE COUNTER:
-
- 1. Paste the coding into the HEAD of your HTML document
- 2. Copy the last coding into the BODY of your HTML document -->
-
- <!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
-
- <HEAD>
-
- <SCRIPT LANGUAGE="JavaScript">
- <!-- Begin
- var ran
- ran = Math.round(Math.random()*50000)
- function alertUser() {
- alert("You are visitor number " + ran + " to this page.")
- }
- // End -->
- </SCRIPT>
-
- <!-- STEP TWO: Copy this last code into the HEAD of your HTML document -->
-
- <BODY>
-
- <CENTER>
- <FORM>
- <INPUT TYPE="button" VALUE="How many visits?" onClick="alertUser()">
- </FORM>
- </CENTER>
-
- <!-- Script Size: 0.69 KB -->
-